package com.unhz.taigu.service.impl;


import com.unhz.generator.dao.TryOrderInfoMapper;
import com.unhz.generator.pojo.TryOrderInfo;
import com.unhz.taigu.service.TryOrderInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: 魏运奇
 * @Description:
 * @Date: Created in 下午 4:08 2018/2/1 0001
 * @Modified By: V1.0.0
 */
@Service
public class TryOrderInfoServiceImpl implements TryOrderInfoService {

    @Autowired
    private TryOrderInfoMapper tryOrderInfoMapper;

    @Override
    public List<TryOrderInfo> selectTryOrderInfoList(Integer id) {
        return tryOrderInfoMapper.selectTryOrderInfoList(id);
    }

    @Override
    public void insert(TryOrderInfo tryOrderInfo) {
        tryOrderInfoMapper.insert(tryOrderInfo);
    }

    @Override
    public void insertTryOrderInfo(TryOrderInfo tryOrderInfo) {
        tryOrderInfoMapper.insertSelective(tryOrderInfo);
    }


}
